<%@page import="java.util.Map"%>
<%@page import="com.ids.bean.EmployeeAttendanceStatistics"%>
<%@page import="com.ids.actions.EmployeeAttendanceScreen"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%@page import="java.util.List"%>


<%Map<String, EmployeeAttendanceStatistics> employeeAttandence =(Map<String, EmployeeAttendanceStatistics>) request.getAttribute("MultiLevevelEmployeeAttandence"); 


%>

<%@page import="com.ids.actions.EmployeeAttendanceScreen;"%>
<table  class="borderAllEmp" border="0" style="width:100%">
	<tr background="images/headerBg.JPG" >
	<td width="10%" style="font-weight: bold" colspan="1" >ECode </td>
	<td width="20%" style="font-weight: bold" colspan="1" >Name</td>
		<s:iterator value="attendanceStatistics" >
		<td align="center" colspan="3" style="font-weight: bold" ><s:property /></td>
		</s:iterator>
		<s:iterator value="weekDays">
			<td align="center" colspan="3" style="font-weight: bold" ><s:property />
			</td>
		</s:iterator>
	</tr>
	<tr>
		<td width="10%"></td>
		<td width="20%"></td>
		<td width="30%" colspan="24"></td>
		<s:iterator value="months">
		<td align="center" colspan="3"><s:property /></td>
		</s:iterator>
	</tr>
	<s:iterator value="employeeAttandence">
		<%int i=0; %>
		<tr>
			<td colspan="1"><s:property value="key.substring(0,5)" /></td>
			<td colspan="1"><s:property value="key.substring(6)" /></td>
			<s:iterator value="value.attendanceGraph" >
				<td align="center" colspan="3" class='b<%=i%>' ><s:property /></td>
			<% i++; %>
			</s:iterator>
			<s:iterator value="value.employeeAttandence">
				<td class='c<s:property value="attandenceTypeId"/>'>&nbsp;</td>
				<td class='c<s:property  value="dependantAttendanceTypeId"/>'>&nbsp;</td>
				<td></td>
				
			</s:iterator>
		</tr>
		<tr>
			<td></td>
		</tr>
	</s:iterator>
</table>
 		<br>

